﻿using AutoMapper;
using T_settlement.API.Application.Command.InvoiceCommand;
using T_settlement.API.Application.Command.settlementCommand;
using T_settlement.Domain;

namespace T_settlement.API.Extensions
{
    public class InvoiceAuto:Profile
    {
        public InvoiceAuto()
        {
            //添加进项发票管理
            CreateMap<AddInvoiceCommand, Invoice>().ReverseMap();

            //修改进项发票管理
            CreateMap<UpdateInvoiceCommand, Invoice>().ReverseMap();
        }

    }
}
